package com.llsydn.service;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import com.llsydn.hello.R;
import com.llsydn.service.local.LocalServiceActivity;
import com.llsydn.service.remote.RemoteServiceActivity;

/**
 * @author lilinshen
 * @title 四大应用组件之：service
 * @description 请填写相关描述
 * @date 2018/9/29 9:45
 */
public class ServiceActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_service);
    }

    public void localService(View view) {
        Intent intent = new Intent(this, LocalServiceActivity.class);
        startActivity(intent);
    }

    public void remoteService(View view) {
        Intent intent = new Intent(this, RemoteServiceActivity.class);
        startActivity(intent);
    }
}
